package model;

import java.sql.Timestamp;
import java.util.List;
//此处为订单表,订单表中包括 菜品信息和用户信息
public class OrderList {
    private int orderid;
    private int userid;
    private int time;
    private Timestamp isdone;   //  对应 sql 中的 datetime   timestamp 时间戳 对应一个时 分 秒1970 000000
    private List<Dishes> dishes;

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public Timestamp getIsdone() {
        return isdone;
    }

    public void setIsdone(Timestamp isdone) {
        this.isdone = isdone;
    }

    public List<Dishes> getDishes() {
        return dishes;
    }

    public void setDishes(List<Dishes> dishes) {
        this.dishes = dishes;
    }
}
